﻿// ReSharper disable once CheckNamespace
namespace CML.Intercamber.Business
{
    public partial class News
    {

        public bool CanChange(Users u)
        {
            if (u.IsAdmin)
                return true;
            if (u.IsTeacher)
            {
                if (u.IdEstablishment == IdEstablishment)
                    return true;
            }
            return false;
        }
        
    }
}
